home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: newshub.cts.com!crash!cercle!bbs
- From: franck.roumy@centre.net
- Subject: Boopsi... tsss, tsss....
- Sender: bbs@cercle.centre.net (Franck Roumy)
- Organization: CentreNet
- Message-ID: <1996Jan24.233515.26181@cercle.centre.net>
- Date: Wed, 24 Jan 1996 23:35:15 GMT
-
- Hi every helpers,
-
- I'm trying to code the "db_button.gadget", a boopsi button, which
- seems to be very usefull. Sad thing, I don't know how to declare it as a
- "Button", to receive the appropiate IDCMP_GADGETUP/DOWN code. So, I obtain
- beautifull buttons, (beautifull pictures, beautifull colors...), and nothing
- appends when the user click them!!
-
- _Here is the questions:_
-
- * How should I declare it as a "BUTTON_KIND"?
-
- * Should I use more than the "NewObjectA" Intuition's command (or
- another instruction)?
-
- (my method:
-
- move.l _ButtonBase(a5),a6
- call dbBT_GetClass
- move.l d0,_ButtonClass(a5)
- (...)
- move.l _IntuitionBase(a5),a6
- move.l _ButtonClass(a5),a0
- suba.l a1,a1
- lea Tags,a2
- call NewObjectA And my new button is created...
- ...)
-
- * I've found the "button.gadget" in my "Class/Gadgets" directory, does
- someone have some informations about it? A documention? (to send?
- ;-)
-
- Thanx, thanx, thanx...
-
-
- __ __ __ __
- \ \V/ / E-Mail: franck.roumy@centre.net \ \V/ / Coder Amiga
- > U < &: grafx@centre.net > U < 100%
- ( / \ ) Minitel: Graf'X (3614/15 AmigaTel) ( / \ ) assembler (gasp!)
- » » » »
-